/**
 *
 * @author Ryan Thomas <s548169@sbuniv.edu>
 */

package guichatclient;

public class GUIChatClient {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws InterruptedException {
        OptionHandler chatOptions = new OptionHandler();
        FRMSplashScreen.main(args);
        Thread.sleep(3000);
        FRMSplashScreen.mainFrame.dispose();
        Controller control = new Controller();
        FRMChat mainChat = new FRMChat();
        InputThread input= new InputThread(control, chatOptions, mainChat);
        input.start();
        input.test();
        mainChat.init(chatOptions);
    }
}
